package com.airticket.demo.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Document("Airline_Flight_Perc")
public class AirlinePer {
    @Id
    private String id;
    @Field("airlineName")
    private String airlineName;
    @Field("countRate")
    private String countRate;
    @Field("count")
    private int count;
}
